package com.insleton.admin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "spring.jpa.hibernate")
@Component
public class HibernateConfiguration {

    private String dialect;

    private String showSql;

    private String formatSql;

    private String hbm2ddlAuto;

    private String useJdbcMetadataDefaults;

    private String defaultSchema;

    public String getDialect() {
        return dialect;
    }

    public void setDialect(String dialect) {
        this.dialect = dialect;
    }

    public String getShowSql() {
        return showSql;
    }

    public void setShowSql(String showSql) {
        this.showSql = showSql;
    }

    public String getFormatSql() {
        return formatSql;
    }

    public void setFormatSql(String formatSql) {
        this.formatSql = formatSql;
    }

    public String getHbm2ddlAuto() {
        return hbm2ddlAuto;
    }

    public void setHbm2ddlAuto(String hbm2ddlAuto) {
        this.hbm2ddlAuto = hbm2ddlAuto;
    }

    public String getUseJdbcMetadataDefaults() {
        return useJdbcMetadataDefaults;
    }

    public void setUseJdbcMetadataDefaults(String useJdbcMetadataDefaults) {
        this.useJdbcMetadataDefaults = useJdbcMetadataDefaults;
    }

    public String getDefaultSchema() {
        return defaultSchema;
    }

    public void setDefaultSchema(String defaultSchema) {
        this.defaultSchema = defaultSchema;
    }
}

